package day020;

import ch.qos.logback.core.util.FileUtil;
import org.apache.commons.io.FileUtils;

import java.io.File;
import java.io.IOException;

public class Test2 {
    public static void main(String[] args) {
        File f1 = new File("D:\\day020");
        File f2 = new File("D:\\day_020_copy");

        try {
            FileUtils.copyDirectoryToDirectory(f1, f2);
        } catch (IOException e) {
            e.printStackTrace();
        }
    }
}
